//
//  WBDiscoverTableViewController.m
//  微博项目
//
//  Created by ma c on 16/8/13.
//  Copyright (c) 2016年 beijing. All rights reserved.
//

#import "WBDiscoverTableViewController.h"
#import "WBSearchBar.h"
#import "UIView+WBExtension.h"

@interface WBDiscoverTableViewController ()

@end

@implementation WBDiscoverTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    WBSearchBar * searchBar = [WBSearchBar searchBar];
    searchBar.width = 300;
    searchBar.height = 30;
    self.navigationItem.titleView = searchBar;
}

#warning -- 不响应
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    BOOL is = [self resignFirstResponder];
    NSLog(@"%d",is);
}

@end
